package com.rs.service.rs;

import java.util.List;

import com.rs.model.Adjustment;
import com.rs.model.Attendance;
import com.rs.model.AttendanceRules;
import com.rs.model.Bonus;
import com.rs.model.Department;
import com.rs.model.Perforsc;
import com.rs.model.Position;
import com.rs.model.Resign;


public interface DepartmentService {

	List<Department> departmentAll();

	Integer departmentAdd(Department department);

	Integer departmentDel(Department department);

	Integer departmentUpdate(Department department);

	String addBuMen(Department dd);

	List<Department> selBuMenAll();

	String delBuMen(Integer de_id);

	String UpdateBuMen(Department l1);

	void addZhiwu(Position pp);

	List<Position> positionSelectAll();

	String delZhiwu(Integer po_id);

	String upDateZhiWu(Position l1);

	List<Attendance> attendanceSelectByDay();

	List<Attendance> selectByTiaojian(Attendance aa);

	List<Attendance> attendanceFindByDay(Attendance a1);

	AttendanceRules attendanceRulesFind();

	void updateByPrimaryKey(AttendanceRules att1);

	List<Adjustment> adjustmentSelectAll();

	List<Adjustment> adjustmentSelectByTiaojian(Adjustment a2);

	List<Resign> ResignSelectAll();

	List<Resign> resignSelectByTiaojian(Resign a2);

	List<Bonus> bonusSelectAll();

	List<Bonus> bonusSelectByTiaojian(Bonus a2);

	List<Attendance> attendanceFindAll(Attendance a1);

	List<Attendance> attendanceFindAllname(Attendance a1);

	List<Perforsc> PerforscSelectAll();
}
